#-------------------------------------------------
#
# Project created by QtCreator 2013-03-21T15:06:49
#
#-------------------------------------------------

QT       += core gui

#uncomment to enable opencl
#CONFIG       +=opencl

TARGET = raytracer
TEMPLATE = app

INCLUDEPATH += $$PWD/../include
DESTDIR = $$PWD/../bin

win32 {
INCLUDEPATH += $$quote(c:/boost_1_53_0)
INCLUDEPATH += $$PWD/../include/OpenEXR
LIBS += -L$$PWD/../lib/msvc10 \
        -llibboost_chrono-vc100-mt-1_53 \
        -llibboost_exception-vc100-mt-1_53 \
        -llibboost_iostreams-vc100-mt-1_53 \
        -llibboost_random-vc100-mt-1_53 \
        -lzlibwapi \
        -lImath \
        -lIlmThread \
        -lIlmImf \
        -lIex \
        -lHalf
}
unix {
INCLUDEPATH += /usr/include/OpenEXR
LIBS += -lIlmImf
QMAKE_CXXFLAGS += -std=c++0x -O2 -msse -msse2
}

#CONFIG(opencl)
#{
#    LIBS += -L$$PWD/../lib/msvc10 \
#            -lQtOpenCL
#    DEFINES += OPEN_CL
#}

SOURCES +=  $$PWD/*.cpp
HEADERS  += $$PWD/*.h \
    src/camera.h \
    src/origine.h

FORMS    += $$PWD/mainwindow.ui \

RESOURCES += \
    src/res.qrc

